package DomainLayer;

public class Post extends AbstractValueObject{

    String post;

    public Post(){
        super();
        post = null;
    }

    public Post(Post currentState, Object... changes){
        super(currentState, changes[0]);
        post = (changes[1] != null ? ((String)changes[1]).toString()
                : currentState.post);
    }

    public String getPost(){
        return  post;
    }
}
